package com.namo.ccharticle.entity.mongo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author WangXin
 * @date 2021/5/19 10:46
 */
@Data
@Document("contents")
public class Content {
    @Field("content_id")
    private String contentId;
    @Field("content")
    private String content;
}
